<script>
import MyInput from "./MyInput";
export default {
  components: {
    MyInput
  },
  props: {
    formData: {
      type: Object,
      default: () => {
        return {};
      }
    },
    formItemData: {
      type: Object,
      default: () => {
        return {};
      }
    }
  },
  render() {
    const on = {
      ...this.$listeners
    };

    let Module = `my-${this.formItemData.type}`;
    return (
      <Module
        formData={this.formData}
        formItemData={this.formItemData}
      ></Module>
    );
  },
  data() {
    return {};
  },
  methods: {}
};
</script>

<style lang="scss" scoped></style>
